{include file=html_head.tpl}
	<body>
		<div id="MainWrapper"  style="height:100%">
			<div id="Header" style="overflow:hidden"><span style="float:left"><a href="/admin">VaselinEngine</a></span>{$content.1}</div>
			<div id="HeaderMenus">
				<ul id="top_menu">
					<li><a href="#">User&nbsp;Management</a>
						<ul>
							<li class="height20"><a href='/admin/groups/'>Groups</a></li>
							<li class="height20"><a href='/admin/users/'>Users</a></li>
							<li class="height20"><a href="/admin/modules/">Modules</a></li>
							<li class="height20"><a href='/admin/permissions/'>Permissions</a></li>
						</ul>
					</li>
					<li><a href="#">Content Management</a>
						<ul>
							<li class="height20"><a href='/admin/pages/'>Pages</a></li>
							<li class="height20"><a href='/admin/menus/'>Menus</a></li>							
							<li class="height20"><a href='/admin/buildmenu/'>Menu Builder</a></li>							
						</ul>
					</li>					
				</ul>
			</div>
			
			{if $sidemenu}
			<div id="SideContents">
				<ul style='padding-left:15px'>
				{foreach from=$sidemenu item=menuitem key=cid}
					<li {if $smarty.server.REQUEST_URI==$menuitem.url}style='font-weight:bold'{/if}><a href="{$menuitem.url}">{$menuitem.title}</a></li>
				{/foreach}
				</ul>
			</div>
			{/if}
			
			<div id="MainContent" {if !$sidemenu}style="margin: 0 10px 0px 10px;border-left:0px"{/if}>
				{include file='messages.tpl'}
				
				{if $seo.title}<h2>{$seo.title}</h2>{/if}
				{$content.0}<br/><br/>
		
			</div>
			<div id="Footer">
				Graphic Design by	<a href="http://oswd.org/designs/search/designer/id/7724/">Some Dude</a>.				
			</div>
		</div>
	</body>
</html>